package com.yunliuchain.examination.exam.entity;


import java.io.Serializable;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yunliuchain.examination.common.entity.BaseEntity;

/**<p>Title:考试成绩明细表 </p>
 * <p>Description:对应表名：t_exa_score_details  </p>
 * <p>作者：zzc</p>
 * <p>日期：2018-05-22 11:12:13</p>
 * <p>版本：1.0</p>
 */
public class ScoreDetails extends BaseEntity{

	private static final long serialVersionUID = -5358127962966636139L;
	
	/*Auto generated properties start*/
	
	/**
	 * 主键
	 */
	private Long scoreDetailsId;
	/**
	 * 分数ID
	 */
	private Long scoreId;
	/**
	 * 试题ID
	 */
	private Long questionsId;
	/**
	 * 试题答案,多个用逗号分开
	 */
	private String answer;
	/**
	 * 是否正确(0否,1是)
	 */
	private Boolean isRight;

	
	
	public Long getScoreDetailsId(){
		return scoreDetailsId;
	}
	
	public void setScoreDetailsId(Long scoreDetailsId){
		this.scoreDetailsId = scoreDetailsId;
	}

	public Long getScoreId(){
		return scoreId;
	}
	
	public void setScoreId(Long scoreId){
		this.scoreId = scoreId;
	}

	public Long getQuestionsId(){
		return questionsId;
	}
	
	public void setQuestionsId(Long questionsId){
		this.questionsId = questionsId;
	}

	public String getAnswer(){
		return answer;
	}
	
	public void setAnswer(String answer){
		this.answer = answer;
	}

	public Boolean getIsRight(){
		return isRight;
	}
	
	public void setIsRight(Boolean isRight){
		this.isRight = isRight;
	}

	


    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE );
    }
}
